<?php

class Core_Model_Theme extends Nuo_Db_Table_Row
{
	protected $_objecType = 'core.theme';

	/**
	 * @return int
	 */
	public function getId()
	{
		return $this -> theme_id;
	}

	/**
	 * @return string
	 */
	public function getTitle()
	{
		return $this -> theme_title;
	}

	/**
	 * magic call object to string
	 * @return string
	 */
	public function __toString()
	{
		return $this -> getTitle();
	}

	/**
	 * system required
	 * @return bool
	 */
	public function isRequire()
	{
		return $this -> is_require;
	}

	/**
	 * get author
	 * @return string
	 */
	public function getAuthor()
	{
		return $this -> theme_author;
	}

	/**
	 * get version
	 * @return string
	 */
	public function getVersion()
	{
		return $this -> theme_version;
	}

	/**
	 * @return bool
	 */
	public function getEnabled()
	{
		return $this -> theme_enabled;
	}

	/**
	 * get theme side
	 * @return string
	 */
	public function getSide()
	{
		return $this -> theme_side;
	}

}
